package ex2;

public class print {
    private  void Print(int n){
        for (int i = 0; i <= n; i++) {
            for (int j = 0; j <=n-i ; j++) {
                System.out.print("%");
            }
            System.out.println();
        }
    }
    public static void main(String[] args) {
    print p =new print();
    p.Print(9);
    }
}
